<%@ page language="java" import="java.util.*" import="com.csc.shopping.vo.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<jsp:include page="/manage/inc/header.jsp"></jsp:include>
<jsp:include page="/manage/inc/sidebar.jsp"></jsp:include>
<%
	GoodsType goodsType = (GoodsType)request.getAttribute("goodsType");
 %>
<div class="main-wrap">
	<div class="crumb-wrap">
		<div class="crumb-list">
			<i class="icon-font"></i><a href="manager.html">首页</a><span
				class="crumb-step">&gt;</span><a class="crumb-name"
				href="<%=basePath%>managerServlet/GoodsTypeServlet?action=view">分类管理</a><span
				class="crumb-step">&gt;</span><span>修改分类</span>
		</div>
	</div>
	<div class="result-wrap">
		<div class="result-content">
			<form action="managerServlet/GoodsTypeServlet?action=updateData" method="post" id="myform"
				name="myform" >
				<table class="insert-tab" width="100%">
					<tbody>
						<tr>
							<th width="120"><i class="require-red">*</i>标题：</th>
							<td><input name = "id" type="hidden" value="<%=goodsType.getId()%>"> 
								<input class="common-text required" id="title" name="name" size="50" value="<%=goodsType.getName() %>" 
								onblur="loseFocus(this)" onfocus="getFocus(this)"  type="text"></td>
						</tr>
						<tr>
							<th></th>
							<td><input class="btn btn-primary btn6 mr10" value="提交" 
								type="submit"> <input class="btn btn6" value="重置"
								type="reset"></td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>

</div>
<jsp:include page="/manage/inc/footer.jsp"></jsp:include>
